package com.zmn.oms.model.mongo.graborder;

import lombok.*;
import org.springframework.data.geo.Circle;
import org.springframework.data.geo.Point;

import java.io.Serializable;
import java.util.List;

/**
 * 类描述：订单查询
 *
 * @author liuying
 * @date 2019/02/18 15:05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString(callSuper = true)
@Builder
public class GrabOrderQuery implements Serializable {

    private static final long serialVersionUID = 8056346348477840152L;

    /**
     * 城市
     */
    private Integer cityId;

    /**
     * 直营(1)/非直营(2)
     */
    private Integer agent;

    /**
     * 业务类型
     */
    private List<Integer> bizTypeList;

    /**
     * 服务商id
     */
    private Integer manageCompanyId;

    /**
     * 行政服务商id
     */
    private Integer gridCompanyId;

    /**
     * 服务分类id
     */
    private List<Integer> servCategIdList;

    /**
     * 产品二级分类
     */
    private List<Integer> categIdList;

    /**
     * 地图画图数据
     */
    private List<List<Point>> serviceAreaPolygonList;

    /**
     * 圆形，可以多个
     */
    private List<Circle> serviceAreaCircleList;

    /**
     * 城市
     */
    private List<Integer> serviceAreaCityIdList;

    /**
     * 区ID
     */
    private List<Integer> serviceAreaCountyIdList;

    /**
     * 街道
     */
    private List<Integer> serviceAreaStreetIdList;


    /**
     * 网格id集合
     */
    private List<Integer> gridList;

}
